programming4us
           
 
 
SQL Server

Central Management Servers (part 4) - Evaluating Policies

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
10/17/2010 5:56:00 PM

4. Evaluating Policies

You can evaluate policies against registered servers or an entire server group using central management servers. The great thing about evaluating policies against multiple servers is that you can simply click a check box to apply the necessary changes to the noncompliant servers.

NOTE

Only certain policies will be valid with each version. For example, since Database Mail was introduced in SQL Server 2005, it would not be a valid to perform a check on a SQL 2000 server that required Database Mail to be enabled. You may want to add a server restriction on policies that are version or edition specific to prevent excessive failures.

To evaluate a policy against multiple servers, right-click on a server group and select Evaluate Policies from the context menu. We will be using the Production group created in the "Creating a Central Management Server" section earlier in this chapter. This will bring up the Evaluate Policies dialog box, as shown in Figure 7. Notice that the group name that we will be evaluating is displayed in the title of the dialog box; in our case the title is Evaluate Policies - Production.

Figure 7. Evaluate Policies dialog box

Now you need to choose the source for the policy or policies you would like to evaluate. Click the ellipsis next to the Source field to bring up the Select Source dialog box shown in Figure 8.

Figure 8. Select Source dialog box

As you can see in Figure 8, you have the ability to use files or a server that contains policies as a source to obtain the policy information to evaluate. If you choose to use a server as the source, you can enter the connection information for any server that contains a valid policy. (The policies will be displayed in the Evaluate Policies dialog box, as shown in Figure 11.)  In the Select Source dialog, select the ellipsis next to the Files text box to open the Select Policy dialog box, as shown in Figure 9.

Figure 9. Select Policy dialog box

One nice feature is that you are allowed to select multiple policy files to evaluate. Navigate to the C:\Program Files\Microsoft SQL Server\100\Tools\Policies\DatabaseEngine\1033\ directory if you are not already there, and then select a couple of polices you would like to evaluate by holding the Ctrl key and clicking each policy. Figure 9 shows the policies we have selected. Once you have selected the policies, click Open to return to the Select Source dialog box. You should now see the files you selected in the Files text box. Click OK to close the Select Source dialog box and load the policies. This will open the Loading Policies dialog box, displayed in Figure 10.

Figure 10. Loading Policies dialog box

Once you have successfully loaded the policies, click Close to return to the Evaluate Policies dialog box, which will now show all the policies you included in the Select Source dialog box (see Figure 11).

Figure 11. Evaluate Polices dialog box with selected policies

You can review each policy configuration and description by selecting the policy name link from the Policy column. Make sure each policy that you would like to evaluate is checked and click Evaluate. This will evaluate each policy and take you to the Evaluate Policies results page, as shown in Figure12.

Figure 12. Policy evaluation results

Each policy that succeeds against all the servers will be indicated with a green check mark, and any policy that has a noncompliant server will be displayed with a red X. If you select a specific policy, you can see the results in the Target details table. Also, certain policies that contain failures have a check box beside them. This check box indicates that SQL Server can automatically apply changes to the server that will make them compliant with the policy. If you select the check box beside the policy, it will automatically check all the noncompliant servers. You can uncheck any server you do not wish to be affected by the changes and click Apply. Click Close to exit the evaluation. There you have it—in just a few clicks, you are able evaluate and manage policies across multiple servers in the organization.

Other -----------------
- SQL Server 2008 : The sqlcmd Command-Line Utility
- Installing SQL Server 2008 Using a Configuration File
- SQL Server 2008 : Slipstream Installations
- SQL Server Programmability Objects
- SQL Server 2005 : Data Querying and Reporting (part 2)
- SQL Server 2005 : Data Querying and Reporting (part 1)
- Configuring SQL Server 2008 : Instances vs Default Instance
- sp_configure and SQL Server Management Studio
- Configuring SQL Server 2008 : Database Mail
- Configuring SQL Server 2008 : Full-Text Indexing
- SQL Server 2008 : Working with Indexes
- SQL Server 2008 : Working with Constraints
- SQL Server 2008 : Working with Tables and Views
- SQL Server 2008 : Viewing and Modifying Data (part 3) - Creating Functions and Creating Triggers
- SQL Server 2008 : Viewing and Modifying Data (part 2) - Creating Stored Procedures
- SQL Server 2008 : Viewing and Modifying Data (part 1) - Creating Views
 
 
 
Top 10
 
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
programming4us programming4us